# -*- coding: UTF-8 -*-
import mysql.connector
class DB_Con:
        #定义基本属性
        id =''
        name =   ''
        jims_db = mysql.connector.connect(
            host="127.0.0.1",
            port="3336",
            user="root",
            passwd="123456",
            database="jims-nh",
            charset='utf8'
        )
        jims_db_desc = 'jims-nh数据连接'
        jims_his_zy_db = mysql.connector.connect(
            host="47.95.20.229",
            port="3336",
            user="root",
            passwd="his-ce-2019",
            database="jims-his-zy-12-16",
            charset='utf8'
        )
        jims_his_zy_db_desc = 'jims_his_zy_db数据连接'
        mydb = mysql.connector.connect(
            host="127.0.0.1",
            port="3336",
            user="root",
            passwd="123456",
            database="songyl",
            charset='utf8'
        )
        mydb_desc = 'songyl数据连接'